package com.winning.pmph.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lbm
 * @since 2021-12-30
 */
public class IncreaseQrCode extends Model<IncreaseQrCode> {

    private static final long serialVersionUID=1L;

    private String id;

    /**
     * 二维码名称
     */
    private String name;

    /**
     * 二维码
     */
    private String code;

    /**
     * 二维码diy图片
     */
    private String diyImg;

    /**
     * 付型后发布前扫码次数
     */
    private Integer scanCountBefore;

    /**
     * 发布后扫码次数
     */
    private Integer scanCountAfter;
    
    /**
     * 付型前扫码次数
     */
    private Integer scanQulityBefore;

    /**
     * 二维码状态
     */
    private Integer status;

    /**
     * 二维码所属资源ID
     */
    private String sourceId;

    /**
     * 资源类型 1目录 2资源
     */
    private Integer sourceType;

    private String createTime;

    private String updateTime;

    private String createBy;

    private String updateBy;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDiyImg() {
        return diyImg;
    }

    public void setDiyImg(String diyImg) {
        this.diyImg = diyImg;
    }

    public Integer getScanCountBefore() {
        return scanCountBefore;
    }

    public void setScanCountBefore(Integer scanCountBefore) {
        this.scanCountBefore = scanCountBefore;
    }

    public Integer getScanCountAfter() {
        return scanCountAfter;
    }

    public void setScanCountAfter(Integer scanCountAfter) {
        this.scanCountAfter = scanCountAfter;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public Integer getSourceType() {
        return sourceType;
    }

    public void setSourceType(Integer sourceType) {
        this.sourceType = sourceType;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "IncreaseQrCode{" +
        "id=" + id +
        ", name=" + name +
        ", code=" + code +
        ", diyImg=" + diyImg +
        ", scanCountBefore=" + scanCountBefore +
        ", scanCountAfter=" + scanCountAfter +
        ", status=" + status +
        ", sourceId=" + sourceId +
        ", sourceType=" + sourceType +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", createBy=" + createBy +
        ", updateBy=" + updateBy +
        "}";
    }

	public Integer getScanQulityBefore() {
		return scanQulityBefore;
	}

	public void setScanQulityBefore(Integer scanQulityBefore) {
		this.scanQulityBefore = scanQulityBefore;
	}
}
